Create User
AutomatR.Zendesk.Activities.CreateUser
The "Create User" activity in AutomatR is part of the Zendesk activities package, allowing the creation of new users in Zendesk. This activity streamlines the process of adding users, providing essential details such as name, email, and other optional information.
Properties
Name | Description |
---|---|
Input | |
Name | The name of the user. Enter a string or a String variable. |
The primary email address of this user. Enter a string or a String variable. | |
Phone | The primary phone number of this user. Enter a string or a String variable. |
Organization ID | The ID of the user's organization or, if the user has more than one organization membership, the ID of the user's default organization. |
Details | Any details you want to store about the user, such as an address. |
Ticket Restriction | Specifies which tickets the user has access to. Enter one of four options: Organization, Groups, Assigned, Requested. |
Time Zone | The user's time zone. Enter a string or a String variable. For example, "Copenhagen." |
Role | Choose the role of the user. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Enter the wait time in seconds (Example: 5 seconds i.e., 5) to start the activity. |
Output | |
Result | Created user details in the form of IndividualUserResponse . |
How to use:
- Drag and drop the "Create User" activity onto the workflow.
- Configure the properties by specifying the user's name, email, and other optional details.
- Optionally, configure the delay and customize the display name.
- Execute the workflow to create a new user in Zendesk.
Example:
Consider an example where the "Create User" activity is used to create a new user:
Create User:
Delay: 0
Name: "John Doe"
Email: "john.doe@example.com"
Phone: "123-456-7890"
Organization ID: 98765
Details: "123 Main St, Cityville"
Ticket Restriction: "Organization"
Time Zone: "Copenhagen"
Role: "Enduser"
Result: createdUserDetails
In this example, the activity creates a new user named "John Doe" with the email "john.doe@example.com" and other optional details. The user is associated with the organization with ID 98765, and the ticket restriction is set to "Organization." The created user's details are stored in the variable createdUserDetails
for further handling in the workflow.